package com.xinguan.system.service;

import com.xinguan.common.baseVO.PageVO;
import com.xinguan.system.entity.Health;
import com.xinguan.system.vo.HealthVO;

/**
 * @author lawrence
 * @create 2020-11-13
 */
public interface HealthService {

    /**
     * 签到记录
     * @return
     */
    PageVO<Health> history(Long id, Integer pageNum, Integer pageSize);

    /**
     * 今日是否已经报备
     * @param id
     * @return
     */
    Health isReport(Long id);

    /**
     * 健康上报
     * @param healthVO
     */
    void report(HealthVO healthVO);
}
